package com.huayi.datagovernance.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.huayi.datagovernance.common.SysConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author dalong
 * @since 2021-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ConfToporelationXxVer对象", description="设备拓扑关系表")
@TableName(value = "conf_toporelation_xx_ver",schema = SysConstant.DB_SCHEMA_TOPO)
public class ConfToporelationXxVer implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键OID")
    @TableId(value = "oid", type = IdType.NONE)
    private Long oid;

    @ApiModelProperty(value = "状态ID")
    private BigDecimal stateId;

    @ApiModelProperty(value = "所在图形任务ID")
    private BigDecimal versionid;

    @ApiModelProperty(value = "编辑标记，1新增，2修改，3基版本删除，4版本内删除")
    private Integer addflag;

    @ApiModelProperty(value = "设备OID")
    private Long sboid;

    @ApiModelProperty(value = "设备子类型")
    private Integer sbzlx;

    @ApiModelProperty(value = "端子号")
    private Integer terminalid;

    @ApiModelProperty(value = "连接点编号")
    private Long topnodeid;

    @ApiModelProperty(value = "数据来源: oracle/pg 默认为pg")
    private String source = "pg";


}
